<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_CSS显示模式</title>
    <style>
        span{
            background-color: red;
            width: 100px;
            height: 100px;
            display: block;
        }
        input,button{
            display: inline;
            width: 50px;
            height: 50px;

        }
        .d2:hover{
            display: none;
        }

    </style>
</head>
<body>
    <div class="d1">111</div>
    <div class="d2">222</div>
    <div class="d3">333</div>
    <hr>
    <span>123</span>
    <span>456</span>
    <span>789</span>
    <hr>
    <input type="text">
    <input type="text">

<button>按钮</button>


</body>
</html>